package org.dtree.ow.models;

import org.dtree.ow.base.model.BaseModel;
import org.nutz.dao.entity.annotation.*;

/**
 * Created by dengwubo on 2017/9/19.
 */
@Table("dt_ow_case")
public class Case extends BaseModel {

    @Name
    @Comment
    @Column("case_id")
    @ColDefine(type = ColType.VARCHAR, width = 32)
    private String id;

    @Comment
    @Column("name")
    @ColDefine(type = ColType.VARCHAR, width = 32)
    private String name;

    @Comment
    @Column("img_url")
    @ColDefine(type = ColType.VARCHAR, width = 32)
    private String imgUrl;

    @Comment
    @Column("address")
    @ColDefine(type = ColType.VARCHAR, width = 32)
    private String address;

    @Comment
    @Column("case_type_id")
    @ColDefine(type = ColType.VARCHAR, width = 32)
    private String caseTypeId;

    @Comment
    @Column("area")
    @ColDefine(type = ColType.FLOAT)
    private Double area;

    @Comment
    @Column("cost")
    @ColDefine(type = ColType.FLOAT)
    private Double cost;

    @Comment
    @Column("description")
    @ColDefine(type = ColType.VARCHAR, width = 255)
    private String description;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getCaseTypeId() {
        return caseTypeId;
    }

    public void setCaseTypeId(String caseTypeId) {
        this.caseTypeId = caseTypeId;
    }

    public Double getArea() {
        return area;
    }

    public void setArea(Double area) {
        this.area = area;
    }

    public Double getCost() {
        return cost;
    }

    public void setCost(Double cost) {
        this.cost = cost;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
